/**
 * Created by yang on 14/12/16.
 */
/**
 * Created by yang on 14/12/12.
 */
var chai = require('chai');
chai.should();
var utils = require('../utils');
var request = utils.getSimpleSiteTestRequest();

describe('/api/simple',function(){
    it('POST',function(done){
        request.post('/api/simple').send({
            str:'test_string'
        }).expect(200).end(function(err,res){
            if(err){
                done(err);
            }else{
                res.body._id.should.be.exists;
                done();
            }

        });
    });
});